package grape.crm.service.relation.query;

import grape.common.service.query.Like;
import grape.crm.service.relation.po.Relation;
import grape.common.service.query.BasePoQuery;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper=false)
public class RelationListQuery extends BasePoQuery<Relation> {
    /**
     * 编号，唯一
     */
    @Like
    private String code;

    /**
     * 姓名,如：父子，夫妻
     */
    @Like
    private String name;
}